package com.it.zhangjun.design.pattern.statePattern;

/**
 * @className: RunState
 * @description: 汽车飞奔状态类
 * @author: z00018123
 * @date: 2021/4/29
 **/
public class RunState extends CarState {

    /**
     * 打开奔跑时不开门
     */
    @Override
    protected void open() {

    }

    /**
     * 奔跑时肯定是关门的
     */
    @Override
    protected void close() {

    }

    /**
     * 汽车在飞奔
     */
    @Override
    protected void run() {

    }

    /**
     * 汽车可以停下来
     */
    @Override
    protected void stop() {

    }
}
